﻿using AMAP.Domain;
using AMAP.ServiceInterfaces.Common;
using System.Security.Cryptography;

namespace AMAP.ServiceInterfaces
{
    public interface IClientService : IRepositoryService<Client>
    {
        /// <summary>
        /// Gets and returns the client designed by the given Email address
        /// </summary>
        /// <param name="Email">Client's email address</param>
        /// <returns>Client POCO designed by the given address email or null if no such client exists</returns>
        Client GetByEmail(string Email);
    }
}
